*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  /* iOS 与 OS X 端字体的优化(横竖屏会出现字体加粗不一致等) */
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html,
body,
.home {
  width: 100%;
  height: 100%;
  margin: 0;
}

.home {
  overflow-y: auto;
  /* background: #f5f5f5; */
  background: rgba(75, 112, 255, 0.1);
  /* background-image: linear-gradient(180deg,#2f6ed3 5%,#5095e4 20%,#5095e4 60%,#2f6ed3 95%); */
}

.home::after {
  content: '';
  width: 140%;
  height: 30%;
  position: absolute;
  left: -20%;
  top: 0;
  z-index: -1;
  border-radius: 0 0 50% 50%;
  background: linear-gradient(180deg, rgb(75, 112, 255) 0%, #9ec8ff 100%);
}

.banner {
  height: 30%;
  padding-top: 40px;
  position: relative;
}

.title {
  position: absolute;
  bottom: 30%;
  left: 0;
  right: 0;
  font-size: 35px;
  font-weight: bold;
  text-align: center;
  color: transparent;
  background: linear-gradient(45deg,
      #ffeb3b,
      #009688,
      yellowgreen,
      pink,
      #03a9f4,
      #9c27b0,
      #8bc34a);
  background-size: cover;
  background-position: center center;
  -webkit-background-clip: text;
  background-clip: text;
  animation: huerotate 5s infinite;
}

@keyframes huerotate {
  100% {
    filter: hue-rotate(360deg);
  }
}

.fbtn-tab {
  width: 90%;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.7);
  height: 50px;
  padding: 10px 15px;
  border-radius: 30px;
  box-shadow: 12.5px 12.5px 10px rgba(0, 0, 0, 0.035),
    100px 100px 80px rgba(0, 0, 0, 0.07);
}

.tab-item {
  display: inline-block;
  width: 30%;
  height: 30px;
  line-height: 30px;
  text-align: center;
  background-color: #fff;
  border-radius: 20px;
  box-shadow: rgba(0, 0, 0, 0.035) 0px 0px 0px 0px,
    rgba(0, 0, 0, 0.07) 0px 0px 0px 0px;
}

.tab-item+.tab-item,
.list-item+.list-item {
  margin-left: 3%;
}

.list {
  width: 90%;
  margin: 80px auto 0;
}

.list-item {
  display: inline-block;
  width: 30%;
}

.fbtn+.fbtn {
  margin-top: 60px;
}

.fbtn {
  width: 100%;
  height: 40px;
  border: none;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: white;
  font-weight: 600;
  background: linear-gradient(to right, #8be3fc, #576bff);
  box-shadow: 0 20px 30px -7px rgba(97, 118, 238, 0.5);
  cursor: pointer;
  transition: box-shadow 0.3s, transform 0.3s;
}

.fbtn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(100%) rotateX(90deg);
  transition: transform 0.3s ease-in-out;
}

.fbtn:hover::before {
  transform: translateY(0) rotateX(0);
}

.fbtn::after {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  width: calc(100% + 10px);
  height: calc(100% + 10px);
  border-radius: 15px;
  z-index: -1;
}

/* Hover Effect */
.fbtn:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  transform: scale(1.05);
}

/* Active Effect */
.fbtn:active {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transform: scale(0.95);
}

.fbtn.disable {
  background: grey;
  transform: scale(1);
  pointer-events: none;
}

.time-form {
  width: 80vw;
  padding: 15px;
}

.time-form-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 20px;
}

.time-form-item input {
  flex: 1;
}

.form-title {
  width: 90px;
  font-size: 16px;
}

.text-center {
  text-align: center;
}

button {
  height: 34px;
  border-width: 0px;
  border-radius: 6px;
  padding: 0 10px 0;
  background: #4ecdc4;
  color: white;
  font-size: 16px;
}

button+button {
  margin-left: 10px;
}

.no-event {
  pointer-events: none;
}